home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / easyproc2.lha / EasyProcess / launch / Launch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-05  |  713 b   |  26 lines

  1. /*
  2.  *    Functions to manage sub-process in a program.
  3.  *
  4.  *    You can launch processes running on your code, and these processes
  5.  *    can also launch other processes.
  6.  *
  7.  *    You MUST call WaitProcesses() before exiting if you have launched other
  8.  *    processes.  This necessary for ALL processes which launch others.
  9.  *
  10.  */
  11.  
  12. #ifdef KICK_13
  13. extern struct Library *ArpBase;
  14. #endif
  15.  
  16. #define KILL_PROCESS_FLAG    SIGBREAKF_CTRL_C
  17.  
  18. struct Process *StartProcess (char *Name, void *EntryPoint, void *Data, WORD Pri);
  19. void KillProcess (struct Process *);
  20. void KillProcesses (void);
  21. void WaitProcess (struct Process *);
  22. void WaitProcesses (void);
  23. BOOL CheckKill (void);
  24. BOOL CheckAlive (struct Process *);
  25. void FlushProcesses (void);
  26.